package com.cn.admin.service.impl;

import com.cn.admin.dao.MenuMapper;
import com.cn.admin.entity.Menu;
import com.cn.admin.entity.MenuQuery;
import com.cn.admin.service.MenuService;
import com.cn.admin.utils.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl extends BaseServiceImpl<Menu, MenuQuery,Long> implements MenuService {

    @Autowired
    MenuMapper menuMapper;


    @Override
    public List getResUrlsByRoleId(int intValue) {
        return menuMapper.getResUrlsByRoleId(intValue);
    }
}
